
package com.insigma.business.qrcode.soldier._consumer.impl;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.*;
import com.insigma.business.qrcode.soldier.request.CommonRepresentationRecordInsertRequest;
import com.insigma.business.qrcode.soldier.request.CommonRepresentationRecordSearchRequest;
import com.insigma.business.qrcode.soldier.request.PlacementInfoSearchRequest;
import com.insigma.business.qrcode.soldier._consumer.PlacementSoldierInfoConsumer;
import com.insigma.business.qrcode.soldier._provider.PlacementSoldierInfoProvider;
import com.insigma.business.qrcode.soldier.service.PlacementSoldierInfoSearchRequest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("placementSoldierInfoConsumer")
public class PlacementSoldierInfoConsumerImpl implements PlacementSoldierInfoConsumer {

    @Resource
    private PlacementSoldierInfoProvider placementSoldierInfoProvider;

    
    @Override
    public BasePagingResponse<List<PlacementSoldierInfoDTO>> searchPlacementSoldierInfo(final PlacementSoldierInfoSearchRequest searchRequest) {
        return placementSoldierInfoProvider.searchPlacementSoldierInfo(searchRequest);
    }

    @Override
    public BaseResponse<PlacementSoldierInfoDTO> signInByIdCardOrMobile(PlacementSoldierInfoInsertRequest request) {
        return placementSoldierInfoProvider.signInByIdCardOrMobile(request);
    }

    @Override
    public BaseResponse<PlacementSoldierInfoDTO> getPlacementSoldierInfo(String idCardNo) {
        return placementSoldierInfoProvider.getPlacementSoldierInfo(idCardNo);
    }

    @Override
    public BaseResponse<PlacementSoldierInfoDTO> getFilteredSoldierDetail(String soldierId) {
        return placementSoldierInfoProvider.getFilteredSoldierDetail(soldierId);
    }

    @Override
    public BaseResponse<PlacementAspirationResultDetailDTO> getPlacementSoldierAspirationResult(String soldierId) {
        return placementSoldierInfoProvider.getPlacementSoldierAspirationResult(soldierId);
    }

    @Override
    public BaseResponse<PlacementSoldierInfoDTO> getPlacementProcess(String soldierId) {
        return placementSoldierInfoProvider.getPlacementProcess(soldierId);
    }

    
    @Override
    public BaseResponse<String> insertPlacementSoldierInfo(final PlacementSoldierInfoInsertRequest insertRequest) {
        return placementSoldierInfoProvider.insertPlacementSoldierInfo(insertRequest);
    }

    @Override
    public BaseResponse<String> importPlacementSoldiers(SimpleApiRequest request) {
        return placementSoldierInfoProvider.importPlacementSoldiers(request);
    }

    
    @Override
    public BaseResponse<Integer> updatePlacementSoldierInfo(final PlacementSoldierInfoUpdateRequest updateRequest) {
        return placementSoldierInfoProvider.updatePlacementSoldierInfo(updateRequest);
    }

    @Override
    public BaseResponse<Integer> representArchiveScore(CommonRepresentationRecordInsertRequest request) {
        return placementSoldierInfoProvider.representArchiveScore(request);
    }

    @Override
    public BaseResponse<CommonRepresentationRecordDTO> getMyRepresent(String soldierId) {
        return placementSoldierInfoProvider.getMyRepresent(soldierId);
    }

    @Override
    public BaseResponse<Integer> confirmArchiveScore(PlacementSoldierInfoUpdateRequest placementSoldierInfoUpdateRequest) {
        return placementSoldierInfoProvider.confirmArchiveScore(placementSoldierInfoUpdateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deletePlacementSoldierInfo(final BaseDeleteRequest deleteRequest) {
        return placementSoldierInfoProvider.deletePlacementSoldierInfo(deleteRequest);
    }

    @Override
    public BaseResponse<String> importExamScore(SimpleApiRequest request) {
        return placementSoldierInfoProvider.importExamScore(request);
    }

    @Override
    public BaseResponse<Integer> updateSoldierInfo(PlacementSoldierInfoUpdateRequest request) {
        return placementSoldierInfoProvider.updateSoldierInfo(request);
    }

    @Override
    public BasePagingResponse<List<PlacementSoldierInfoDTO>> searchPlacementSoldierShortInfo(PlacementSoldierInfoSearchRequest searchRequest) {
        return placementSoldierInfoProvider.searchPlacementSoldierShortInfo(searchRequest);
    }

    @Override
    public BaseResponse<Integer> updateSoldierInfoBySoldier(PlacementSoldierInfoUpdateRequest request) {
        return placementSoldierInfoProvider.updateSoldierInfoBySoldier(request);
    }

    @Override
    public BaseResponse<Integer> publishAllSoldier(PlacementSoldierInfoUpdateRequest request) {
        return placementSoldierInfoProvider.publishAllSoldier(request);
    }

    @Override
    public BaseResponse<Integer> geneOfflineBatch(PlacementSoldierInfoUpdateRequest request) {
        return placementSoldierInfoProvider.geneOfflineBatch(request);
    }

    @Override
    public BasePagingResponse<List<CommonRepresentationRecordDTO>> listMyRepresent(CommonRepresentationRecordSearchRequest request) {
        return placementSoldierInfoProvider.listMyRepresent(request);
    }

    @Override
    public BaseResponse<PlacementSoldierInfoDTO> signInByPw(String idCardNo, String password, String soldierUserId) {
        return placementSoldierInfoProvider.signInByPw(idCardNo, password, soldierUserId);
    }

    @Override
    public BaseResponse<Integer> changePw(PlacementSoldierInfoUpdateRequest placementSoldierInfoUpdateRequest) {
        return placementSoldierInfoProvider.changePw(placementSoldierInfoUpdateRequest);
    }

    @Override
    public BasePagingResponse<List<PlacementSoldierInfoDTO>> searchThoughTrain(PlacementSoldierInfoSearchRequest searchRequest) {
        return placementSoldierInfoProvider.searchThoughTrain(searchRequest);
    }

    @Override
    public BaseResponse<ExcelResultBO> exportSoliderInfo(PlacementSoldierInfoSearchRequest searchRequest) {
        return placementSoldierInfoProvider.exportSoliderInfo(searchRequest);
    }

    @Override
    public BaseResponse<String> importPlacementArchiveScore(SimpleApiRequest request) {
        return placementSoldierInfoProvider.importPlacementArchiveScore(request);
    }

    @Override
    public BaseResponse<Integer> confirmBaseInfo(PlacementSoldierInfoUpdateRequest request) {
        return placementSoldierInfoProvider.confirmBaseInfo(request);
    }

    @Override
    public BaseResponse<PlacementBatchDTO> viewDeadline(PlacementInfoSearchRequest request) {
        return placementSoldierInfoProvider.viewDeadline(request);
    }

    @Override
    public BaseResponse<BinaryResultBO> getPlacementSoldierInfoOfPdf(String idCardNo) {
        return  placementSoldierInfoProvider.getPlacementSoldierInfoOfPdf(idCardNo);
    }







    @Override
    public BaseResponse<BinaryResultBO> batchExportPdfByIdCardNo(PlacementSoldierInfoSearchRequest request) {
        return placementSoldierInfoProvider.batchExportPdfByIdCardNo(request);
    }
}
